<template>
    <div>登录页</div>
    <button @click="handleGoInside">登录成功</button>
</template>

<script setup>
import { useRouter } from 'vue-router';

const router = useRouter()

const handleGoInside = () => {
    router.push('/work')
}
</script>